﻿<Page
    x:Class="GIFPlayerSample.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:GIFPlayerSample"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:gif="using:GIFPlayer"
    mc:Ignorable="d">   

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" x:Name="LayoutGrid" >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" ></RowDefinition>
            <RowDefinition ></RowDefinition>
        </Grid.RowDefinitions>

        
        <Grid Grid.Row="0" Visibility="Collapsed" x:Name="GifGrid">
        <gif:GIF x:Name="myGifPlayer" HorizontalAlignment="Left" VerticalAlignment="Top" />
        </Grid>
        
        <Button Grid.Row="1" Content="Change visibility" Click="Button_Click" />

        <!--<gif:GIF x:Name="gifPlayer" IsAnimating="True"  Source="http://localhost/NeMevoy.gif"  Width="200" Height="120"></gif:GIF>
        <Button Content="Next" Grid.Row="1" Click="Button_Click" />-->
        <!--<GridView>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif" IsAnimating="True"  Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif"  Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/giphy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif"  Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/giphy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif"  Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/giphy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif"  Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/giphy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/giphy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
                <GridViewItem>
            <gif:GIF Source="http://localhost/NeMevoy.gif"  Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/giphy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/giphy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif"  Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/giphy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/NeMevoy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/giphy.gif" Width="200" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/transparent.gif" Width="120" Height="120"></gif:GIF>
            </GridViewItem>
            <GridViewItem>
                <gif:GIF Source="http://localhost/transparent.gif" Width="120" Height="120"></gif:GIF>
            </GridViewItem>

        </GridView>-->
        <!--<gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
        <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
        <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
        <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
        <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
        <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
        <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
        <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
        <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>-->
        <!--<StackPanel Orientation="Horizontal" Width="1000"  Height="1080">
            
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
            <gif:GIF Source="http://localhost/NeMevoy.gif"></gif:GIF>
        </StackPanel>-->
        
    </Grid>
</Page>
